package cn.chencq.spider.novel.vo;

public class Chapter {

	private String chapterName;

	private String chapterUrl;

	private String bookId;

	private Integer index;

	public Chapter(String bookId, String chapterName, String chapterUrl, int index) {
		super();
		this.chapterName = chapterName;
		this.chapterUrl = chapterUrl;
		this.bookId = bookId;
		this.index = index;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getChapterName() {
		return chapterName;
	}

	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}

	public String getChapterUrl() {
		return chapterUrl;
	}

	public void setChapterUrl(String chapterUrl) {
		this.chapterUrl = chapterUrl;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	@Override
	public String toString() {
		return "Chapter [chapterName:" + chapterName + ", chapterUrl:" + chapterUrl + ", bookId:" + bookId + ", index:" + index + "]";
	}
}
